package com.dou.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dou.dao.OrderMapper;
import com.dou.entity.Order;
import com.dou.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Service
@Component
public class OrderServiceImpl implements OrderService{
    @Autowired
    @SuppressWarnings("ALL")
    private OrderMapper orderMapper;
    @Override
    public List<Order> getAllOrder() {
        return orderMapper.getAllOrder();
    }
}
